<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>欢迎来到浙江工商大学食堂点餐网站</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
        }
        .header {
            text-align: center;
            margin-bottom: 20px;
        }
        .header img {
            height: 100px; /* 减小Logo大小以适应小屏幕 */
            width: auto; /* 保持图片比例 */
        }
        .header h1 {
            font-size: 24px; /* 减小标题字体大小 */
            margin: 10px 0;
        }
        .login-button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px; /* 减小按钮大小 */
            border-radius: 5px;
            font-size: 14px; /* 减小按钮字体大小 */
            cursor: pointer;
            text-decoration: none;
            display: block; /* 使按钮在小屏幕上占据整行 */
            width: 80%; /* 设置按钮宽度 */
            margin: 10px auto; /* 水平居中 */
        }
        .login-button:hover {
            background-color: #0056b3;
        }
        /* 媒体查询，针对安卓手机屏幕优化 */
        @media screen and (max-width: 600px) {
            .header h1 {
                font-size: 20px;
            }
            .login-button {
                width: 90%; /* 在更小的屏幕上进一步增加按钮宽度 */
            }
        }
    </style>
</head>
<body>
    <div class="header">
        <img src="./images/cafeteria-logo.png" alt="智能食堂Logo" class="logo">
        <h1>欢迎来到浙江工商大学食堂点单网站</h1>
        <a href="login.html" class="login-button">登录</a>
    </div>
</body>
</html>